﻿using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Util;
using System.ComponentModel;


namespace HX.HxDemo.BOS.Business.PlugIn20250116001
{
    [Description("【表单插件】AfterCopyRow"),HotUpdate]
    public class AfterCopyRowFormPlugIn : AbstractDynamicFormPlugIn
    {
        /*复制行事件*/
        public override void AfterCopyRow(AfterCopyRowEventArgs e)
        {
            base.AfterCopyRow(e);
            var msg = string.Format("分录行复制成功。\r\n分录标识：{0}{1}\r\n源行行号：{2}\r\n新行行号：{3}", e.EntityKey, this.View.BillBusinessInfo.GetEntity(e.EntityKey).Name, e.Row, e.NewRow);
            this.View.ShowMessage(msg);
        }
    }
}
